package com.blog.personalblog.service;

import com.blog.personalblog.config.page.PageRequest;
import com.blog.personalblog.entity.Notice;

import java.util.List;

public interface NoticeService {
    List<Notice> getNoticePage(PageRequest pageRequest);
    int saveNotice(Notice notice);
    int updateNotice(Notice notice);
    void deleteNotice(Integer id);
    Notice getNoticeById(Integer id);
}
